const mongo_config={
    db:'mydb',
    host:'119.23.182.180:27017',
    username:'srp',
    userpwd:'srp',
    is_authentication:true,
    useDB:'mydb',
    authSource:'mydb',
    mongo_url:'mongodb://srp:srp@119.23.182.180:27017/mydb?authSource=mydb',
}
let mongo_url='mongodb://'+mongo_config.username+':'+mongo_config.userpwd+'@'+mongo_config.host
                +'/'+mongo_config.useDB+(mongo_config.is_authentication?'?authSource='+mongo_config.authSource:'');

// console.log(mongo_url);

module.exports={
    cookieSecret:'my',
    mongo_url:mongo_url,
}